package com.gy.api.pc.movie.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class FilmPermitInfoSearchVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "公映号")
    private String permitNumber;

    @ApiModelProperty(value = "片名")
    private String title;

    @ApiModelProperty(value = "第一出品单位")
    private String productionUnit;

    @ApiModelProperty(value = "提交开始时间(yyyy-MM-dd)")
    private String startTime;
    @ApiModelProperty(value = "提交结束时间(yyyy-MM-dd)")
    private String endTime;


    @ApiModelProperty(value = "页数", required = true)
    private Integer pageNum;

    @ApiModelProperty(value = "每页显示记录数", required = true)
    private Integer pageSize;


    public Integer getPageNum() {
        if (pageNum == null) {
            pageNum = 1;
        }
        return pageNum;
    }

    public Integer getPageSize() {
        if (pageSize == null) {
            pageSize = 10;
        }
        return pageSize;
    }

}